<template>
    <div>
         <Tongue msg="Welcome to Your Vue.js App"/>
         <div class="box" @click="box">
             box
         </div>
    </div>
</template>
<script>
import Tongue from '../views/tongue/tongue'
export default {
    name:'home',
    data() {
        return {
            
        }
    },
    components: {
    Tongue
  },
    methods: {
        box(){
            let box = document.querySelector('.box')
            console.log(box,'.box')
            box.style.background = 'red'
        }
        
    },
    mounted() {
       
    },
}
</script>